<template>
    <div class="create">
        <outline></outline>
        <center></center>
    </div>
</template>

<script>
    import center from './center.vue'
    import outline from './outline.vue'
    import store from '../../store/index'
    // import {
    //     getQlist
    // } from '@/util/apis'

    export default {
        store,
        components: {
            center,
            outline
        },
        data() {
            return {

            }
        },
        // beforeCreate() {
        //     let params = {
        //         username: sessionStorage.getItem('username')
        //     }
        //     console.log(params)
        //     getQlist(params).then((response) => {
        //         console.log(response)
        //         store.commit('getQuestion', response)
        //     }).catch((error) => {
        //         console.log(error)
        //     })
        // }
    }
</script>

<style scoped>
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800&display=swap');

    :global(*) {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }

    .create {
        display: flex;
        height: 90vh;
    }
</style>